package cn.itcast.user.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * Created by John.Ma on 2022/4/12 0012 23:33
 * <p>
 * naco中的配置:
 * pattern:
 * dateformat: yyyy/MM月/日 HH:mm:ss
 */
@Data
@Component
@ConfigurationProperties(prefix = "pattern")
public class PatternProperties {
    private String dateformat;

    // 环境共享属性
    private String envSharedValue;
}
